<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<title>Home</title>
<%@include file="/foot_head_easyui.ini"%>
<script type="text/javascript">
$(function(){
	$("#submitBtn").click(function(){$("#formId").submit();});
	$("#resetBtn").click(function(){$("#formId")[0].reset();});
});

function validateForm(){
	return $("#formId").form('validate');
}
</script>
</head>

<body style="height:100%;width:100%;overflow:hidden;border:none;" >
	<div id="win" class="easyui-window" title="用户登录" style="width: 300px;" minimizable="false" maximizable="false" collapsible="false" closable="false">
		<form style="padding: 5px 20px 5px 40px;" action="doLogin" method="post" id="formId" onsubmit="return validateForm();">
			<p>
				帐号: <input type="text" class="easyui-validatebox" data-options="required:true" missingMessage="请输入帐号" size="20" style="width:150px"/>
			</p>
			<p>
				密码: <input type="password" class="easyui-validatebox" data-options="required:true" missingMessage="请输入密码" size="20" style="width:150px"/>
			</p>
			
			<p>
				<span></span>
			</p>
			<p style="text-align: center;">
				<a href="#" id="submitBtn" class="easyui-linkbutton" icon="icon-ok">登录</a> 
				<a href="#" id="resetBtn" class="easyui-linkbutton" icon="icon-cancel">取消</a>
			</p>
		</form>
	</div>
</body>
</html>